libxc/xentrace: Use xc_cpumap_t for xc_tbuf_set_cpu_mask
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Thu, 23 Apr 2015 13:29:40 +0000 (09:29 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 8 May 2015 13:54:53 +0000 (14:54 +0100)
commit5b8a4661896f45ca6738e9a408b454f6013a9c74
tree390c655d82a0043103f583ca6f4ef6280beb5679
parent3cab67ac83b1d56c3daedd9c4adfed497a114246
libxc/xentrace: Use xc_cpumap_t for xc_tbuf_set_cpu_mask

xentrace is the only caller at the moment.  Split the cpu and event
mask setting out into seperate functions, but leave the current limit
of 32 bits for masks passed in from the command-line.

Based on a patch from Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_tbuf.c
tools/xentrace/xentrace.c